#include<iostream>
using namespace std;
class A
{
  public:
    A()
      :a(1)
      ,b(1)
  {
    cout<<" A()"<<endl;
  }
    A(const A& d)
    {
      cout<<" A(const A& d)"<<endl;
    }
  private:
    int a;
    int b;
};
A f()
{
  A ret;
  return ret;
}
int main()
{
  A d1;
  d1=f();
  return 0;
}
